<%--
  Created by IntelliJ IDEA.
  User: 联想
  Date: 2020/3/22
  Time: 12:09
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>Layui</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link rel="stylesheet" href="${pageContext.request.contextPath}/resources/layui/css/layui.css" media="all">
    <!-- 注意：如果你直接复制所有代码到本地，上述css路径需要改成你本地的 -->

</head>
<body>

<blockquote class="layui-elem-quote layui-text">
    信息展示
</blockquote>
<fieldset class="layui-elem-field layui-field-title" style="margin-top: 20px;">
    <legend>完善您的个人信息</legend>
</fieldset>


<div class="layui-form-item">
    <div class="layui-inline">
        <label class="layui-form-label">学号</label>
        <div class="layui-input-inline">
            <input type="tel" value="${student.getStudentNo()}" readonly="true" class="layui-input">
        </div>
    </div>
    <div class="layui-inline">
        <label class="layui-form-label">姓名</label>
        <div class="layui-input-inline">
            <input type="text" value="${student.getStudentName()}" readonly="true" class="layui-input">
        </div>
    </div>
    <div class="layui-inline">
        <label class="layui-form-label">性别</label>
        <div class="layui-input-inline">
            <input type="tel" value="${student.getStudentSex()}" readonly="true" lay-verify="required|phone"
                   autocomplete="off" class="layui-input">
        </div>
    </div>

    <div class="layui-inline">
        <label class="layui-form-label">出生日期</label>
        <div class="layui-input-inline">
            <input type="tel" value="${student.getStudentBirth()}" readonly="true" lay-verify="required|phone"
                   autocomplete="off" class="layui-input">
        </div>
    </div>
</div>

    <div class="layui-form-item">
        <div class="layui-inline">
            <label class="layui-form-label">所在班级</label>
            <div class="layui-input-inline">
                <input type="tel" name="studentClass" value="${student.getStudentClass()}" readonly="true" class="layui-input">
            </div>
        </div>
        <div class="layui-inline">
            <label class="layui-form-label">学院与专业</label>
            <div class="layui-input-inline">
                <input type="text" name="studentMajor" value="${student.getStudentMajor()}" readonly="true" class="layui-input">
            </div>
        </div>
        <div class="layui-inline">
            <label class="layui-form-label">联系电话</label>
            <div class="layui-input-inline">
                <input type="tel" name="studentTell" value="${student.getStudentTell()}" readonly="true" lay-verify="required|phone"
                       autocomplete="off" class="layui-input">
            </div>
        </div>

        <div class="layui-inline">
            <label class="layui-form-label">邮箱</label>
            <div class="layui-input-inline">
                <input type="tel" value="${student.getStudentEmail()}" readonly="true" lay-verify="required|phone"
                       autocomplete="off" class="layui-input">
            </div>
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">籍贯</label>
        <div class="layui-input-block">
            <input type="text" name="studentAddress" value="${student.getStudentAddress()}" readonly="true" lay-verify="title"
                   autocomplete="off" placeholder="请输入标题" class="layui-input">
        </div>
    </div>
<br>
<a href="${pageContext.request.contextPath}/student/toGenerateInfoCard?studentNo=${student.getStudentNo()}" class="layui-btn">生成微信名片</a>

</body>
</html>
